﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AtDevice
{
    public enum MessageStatus
    {
        Received,
        ReceivedUnread,
        ReceivedRead,
        StoredUnsent,
        StoredSent,
        All
    }

    /// <summary>
    /// An interface to SMS services provided by the device.
    /// </summary>
    public interface ISMSInterface
    {
        void SendSMS(string number, string message);
        void SaveSMS(string number, string message);

        /// <summary>
        /// Get list of messages stored in the SIM card.
        /// </summary>
        /// <param name="status">Status of the messages to list.</param>
        List<SMS> ListMessages(MessageStatus status);

        /// <summary>
        /// Delete the specified message from the SIM card's store.
        /// </summary>
        /// <param name="identifier"></param>
        void DeleteSMS(int identifier);
    }
}
